package adapter;

public class ObjectAdapter implements Target {

	private Origin origin;

	public ObjectAdapter(Origin origin) {
		this.origin = origin;
	}

	public void originMethod() {
		origin.originMethod();
	}

	public void targetMethod() {
		System.out.println("targetMethod from implements Target");
	}

}
